package cn.tedu.egnotice2.mapper;

import cn.tedu.egnotice2.pojo.dto.NoticeAddQuery;
import cn.tedu.egnotice2.pojo.entity.Notice;
import cn.tedu.egnotice2.pojo.vo.NoticeDetailInfoVO;
import cn.tedu.egnotice2.pojo.vo.NoticeListVO;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;


public interface NoticeMapper {

    int insertNotice(Notice notice);

    List<NoticeListVO> selectNoticeList(NoticeAddQuery noticeAddQuery);

    int deleteNotice(Long id);

    NoticeDetailInfoVO selectNoticeDetail(Long id);

    int updateNotice(Notice notice);
}
